/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cratos.xxgramoss.user;

import com.cratos.xxgramoss.base.BaseBean;
import org.redkale.source.*;
import org.redkale.util.Comment;

/**
 *  用户详情查询过滤条件bean
 * @author alter
 */
@Comment("员工过滤条件类")
public class UserDetailBean extends BaseBean implements FilterBean{
    
    @FilterColumn(express = FilterExpress.IN, comment = "[用户id]")
    protected int[] userid;  //用户ID

    @FilterColumn(express = FilterExpress.LIKE, comment = "[用户昵称]")
    protected String username = "";  //用户昵称
    
    @FilterColumn(express = FilterExpress.ENDSWITH, comment = "[手机号码]")
    protected String mobile = "";

    @Comment("[用户在线状态]")
    protected short onlinestatus;
    
    protected short status;    //状态 （前端不可见）  值见BaseEntity的STATUS常量

    protected Range.LongRange createtime;
    
    public Range.LongRange getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Range.LongRange createtime) {
        this.createtime = createtime;
    }

    public int[] getUserid() {
        return userid;
    }

    public void setUserid(int[] userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    
    public short getStatus() {
        return status;
    }

    public void setStatus(short status) {
        this.status = status;
    }

    public short getOnlinestatus() {
        return onlinestatus;
    }

    public void setOnlinestatus(short onlinestatus) {
        this.onlinestatus = onlinestatus;
    }

}
